home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 January / macformat46.iso / Shareware Plus / Developers / Library / Grant's CGI Framework / Grant's CGI Framework / grantscgi / Util / StringUtil.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-20  |  1007 b   |  38 lines

  1. #pragma once
  2. /*****
  3.  *
  4.  *    StringUtil.h
  5.  *
  6.  *    This is a support file for "Grant's CGI Framework".
  7.  *    Please see the license agreement that accompanies the distribution package
  8.  *    for licensing details.
  9.  *
  10.  *    Copyright ©1995,1996 by Grant Neufeld
  11.  *    grant@acm.com
  12.  *    http://arpp.carleton.ca/cgi/framework/
  13.  *
  14.  *****/
  15.  
  16. /***  FUNCTION PROTOTYPES  ***/
  17.  
  18.     void    StringPascalCopy        ( char *, char * );
  19.     long    StringCountChar            ( char *, char );
  20.     Boolean    StringConvertCharToChar    ( char *, char /*from*/, char /*to*/ );
  21.     
  22. p_export short    StringCompareNoCase        ( char *, char * );
  23. p_export short    StringNCompareNoCase    ( char *, char *, UInt16 );
  24.         char    CharMakeUpper            ( char );
  25.     
  26.     void    StringDrawInRect        ( StringPtr, Rect );
  27.     long    StringDrawTextInRect    ( char *, long, Rect );
  28.     
  29.     /* since TPM doesn't seem to handle strchr properly... */
  30.     #if kCompiling_For_Symantec
  31.     char *    StringChar            ( const char *, unsigned char );
  32.     #else
  33.     #define StringChar(theString,theChar)    strchr((theString),(theChar))
  34.     #endif
  35.  
  36.  
  37. /***  EOF  ***/
  38.